home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(moveon == false)
- {
- this.gotoAndStop(1);
- }
- if(this._currentframe >= 2 && this._currentframe < 17)
- {
- this.play();
- }
- if(this._currentframe == 17)
- {
- this._y += _root.ballsp;
- }
- if(this._y >= 720 && moveon == true)
- {
- this._y = -106;
- moveon = false;
- }
- if(this.hitTest(_root.plat1) && this.end == false)
- {
- this._y = _root.plat1._y;
- play();
- _root.plat1._yscale = 30;
- end = true;
- }
- if(this._currentframe == 30)
- {
- this._y = 720;
- end = false;
- this.gotoAndStop(1);
- moveon = false;
- }
- }
-